
#import "Obstacle.h"
#import "GameManager.h"

@implementation Obstacle

/*
 Vertex x-Range from: -17.474178 to: 17.474174
 Vertex y-Range from: -17.594904 to: 17.353456
 Vertex z-Range from: -18.822365 to: 18.679285
 
 Suggested radius for bounding sphere: 17.963815666667
 */ 

- (void) additionalSetup {
    type = OBSTACLE;    
    Tex *tex = [[GameManager getInstance] getTex: @"obstacle.png" isImage: YES];
    textureID = [tex getTextureID];         
    radius = 17.963815666667;
    
    GLfloat verticesObjData[ ] = { 
        17.474174, -0.120721, -9.998633, 14.994154, 3.820796, -8.566791, 10.981397, 2.315269, -6.250025, 10.981397, -2.556715, -6.250027, 14.994154, -4.062240, -8.566794, 17.474174, -0.120725, 10.178808, 14.994154, 3.820793, 8.746969, 10.981397, 2.315268, 6.430201, 10.981397, -2.556717, 6.430199, 14.994154, -4.062243, 8.746965, -17.474178, -0.120725, 10.178808, -14.994157, 3.820793, 8.746969, -10.981400, 2.315268, 6.430202, -10.981400, -2.556717, 6.430201, -14.994157, -4.062243, 8.746965, -17.474178, -0.120721, -9.998632, -14.994157, 3.820796, -8.566792, -10.981400, 2.315269, -6.250025, -10.981400, -2.556715, -6.250027, -14.994157, -4.062240, -8.566792, 3.941536, -4.062239, -13.683037, 2.435998, -2.556717, -9.918725, -2.435991, -2.556709, -11.183721, -0.000002, -0.120719, -11.325150, -3.941512, -4.062238, -14.948039, 3.941538, -4.062244, 13.539957, 2.435998, -2.556722, 9.775650, -0.000002, -0.120726, 11.182074, -2.435991, -2.556715, 9.775656, -3.941512, -4.062244, 15.128210, 3.941536, 3.820774, 15.128210, 2.435998, 2.315267, 9.775652, -2.435989, 2.315266, 9.775652, -3.941512, 3.820807, 13.539961, 3.941539, 3.820780, -14.948035, 2.435998, 2.315271, -9.918728, -2.435989, 2.315270, -9.918731, -3.941512, 3.820808, -13.683040, 0.000002, -0.120718, -18.822365, 0.000007, -17.594896, -9.998640, 3.941525, -15.114878, -8.566797, 2.435999, -11.102120, -6.250030, -2.435986, -11.102120, -6.250030, -3.941512, -15.114878, -8.566797, 0.000007, -17.594904, 10.178804, 3.941525, -15.114881, 8.746962, 2.435999, -11.102124, 6.430199, -2.435986, -11.102124, 6.430199, -3.941512, -15.114881, 8.746962, 0.000002, -0.120727, 18.679285, 0.000007, 17.353449, 10.178814, 3.941525, 14.873430, 8.746973, 2.435999, 10.860673, 6.430202, -2.435986, 10.860673, 6.430202, -3.941512, 14.873430, 8.746973, 0.000007, 17.353456, -9.998627, 3.941525, 14.873433, -8.566788, 2.435999, 10.860677, -6.250025, -2.435986, 10.860677, -6.250025, -3.941512, 14.873433, -8.566788, 14.994154, 3.820796, -8.566791, 3.941539, 3.820780, -14.948035, 3.941539, 3.820780, -14.948035, 10.981397, 2.315269, -6.250025, 10.981397, 2.315269, -6.250025, 2.435998, 2.315271, -9.918728, 17.474174, -0.120721, -9.998633, 14.994154, 3.820796, -8.566791, 17.474174, -0.120721, -9.998633, 14.994154, 3.820796, -8.566791, 10.981397, 2.315269, -6.250025, 14.994154, 3.820793, 8.746969, 14.994154, 3.820796, -8.566791, 10.981397, 2.315269, -6.250025, 10.981397, -2.556715, -6.250027, 10.981397, 2.315268, 6.430201, 10.981397, 2.315269, -6.250025, 10.981397, -2.556715, -6.250027, 14.994154, -4.062240, -8.566794, 10.981397, -2.556717, 6.430199, 10.981397, -2.556715, -6.250027, 14.994154, -4.062240, -8.566794, 17.474174, -0.120721, -9.998633, 14.994154, -4.062240, -8.566794, 17.474174, -0.120725, 10.178808, 14.994154, 3.820793, 8.746969, 17.474174, -0.120725, 10.178808, 14.994154, -4.062243, 8.746965, 14.994154, -4.062243, 8.746965, 10.981397, -2.556717, 6.430199, 14.994154, -4.062243, 8.746965, 17.474174, -0.120725, 10.178808, 14.994154, -4.062243, 8.746965, 0.000002, -0.120727, 18.679285, 0.000002, -0.120727, 18.679285, -2.435991, -2.556715, 9.775656, -10.981400, -2.556717, 6.430201, -2.435991, -2.556715, 9.775656, 0.000002, -0.120727, 18.679285, -17.474178, -0.120725, 10.178808, -14.994157, 3.820793, 8.746969, -17.474178, -0.120725, 10.178808, -14.994157, 3.820793, 8.746969, -10.981400, 2.315268, 6.430202, -14.994157, 3.820793, 8.746969, -10.981400, 2.315268, 6.430202, -10.981400, -2.556717, 6.430201, -10.981400, 2.315268, 6.430202, -10.981400, -2.556717, 6.430201, -14.994157, -4.062243, 8.746965, -10.981400, -2.556715, -6.250027, -10.981400, -2.556717, 6.430201, -14.994157, -4.062243, 8.746965, -17.474178, -0.120725, 10.178808, -14.994157, -4.062243, 8.746965, 0.000002, -0.120718, -18.822365, -17.474178, -0.120721, -9.998632, -14.994157, 3.820796, -8.566792, -14.994157, 3.820796, -8.566792, 0.000002, -0.120718, -18.822365, -14.994157, 3.820796, -8.566792, -10.981400, 2.315269, -6.250025, -14.994157, 3.820796, -8.566792, -10.981400, 2.315269, -6.250025, -10.981400, -2.556715, -6.250027, -10.981400, 2.315269, -6.250025, -0.000002, -0.120719, -11.325150, -17.474178, -0.120721, -9.998632, 0.000002, -0.120718, -18.822365, -14.994157, -4.062240, -8.566792, -17.474178, -0.120721, -9.998632, -10.981400, -2.556715, -6.250027, -14.994157, -4.062240, -8.566792, -3.941512, -4.062238, -14.948039, -3.941512, -4.062238, -14.948039, -2.435991, -2.556709, -11.183721, -10.981400, -2.556715, -6.250027, 14.994154, 3.820793, 8.746969, 10.981397, 2.315268, 6.430201, 14.994154, 3.820793, 8.746969, -0.000002, -0.120726, 11.182074, 10.981397, 2.315268, 6.430201, 10.981397, -2.556717, 6.430199, -0.000002, -0.120726, 11.182074, 10.981397, -2.556717, 6.430199, 2.435998, 2.315267, 9.775652, 10.981397, 2.315268, 6.430201, -0.000002, -0.120726, 11.182074, 0.000002, -0.120718, -18.822365, 3.941536, -4.062239, -13.683037, 0.000002, -0.120718, -18.822365, 2.435998, -2.556717, -9.918725, 3.941536, -4.062239, -13.683037, 2.435998, -2.556717, -9.918725, 2.435998, -2.556717, -9.918725, -2.435991, -2.556709, -11.183721, -2.435991, -2.556709, -11.183721, 2.435998, -2.556717, -9.918725, -0.000002, -0.120719, -11.325150, -2.435991, -2.556709, -11.183721, -3.941512, -4.062238, -14.948039, -2.435986, -11.102120, -6.250030, -2.435986, -11.102120, -6.250030, -2.435991, -2.556709, -11.183721, -3.941512, -4.062238, -14.948039, 0.000002, -0.120718, -18.822365, -3.941512, -4.062238, -14.948039, -3.941512, -15.114878, -8.566797, -3.941512, -4.062238, -14.948039, 0.000007, -17.594896, -9.998640, 3.941525, -15.114878, -8.566797, 0.000007, -17.594896, -9.998640, 3.941525, -15.114878, -8.566797, 2.435999, -11.102120, -6.250030, 3.941525, -15.114878, -8.566797, 2.435999, -11.102120, -6.250030, -2.435986, -11.102120, -6.250030, 2.435999, -11.102124, 6.430199, 2.435999, -11.102120, -6.250030, -2.435986, -11.102120, -6.250030, -3.941512, -15.114878, -8.566797, -2.435986, -11.102120, -6.250030, -3.941512, -15.114878, -8.566797, 0.000007, -17.594896, -9.998640, -3.941512, -15.114878, -8.566797, 0.000002, -0.120727, 18.679285, 3.941525, -15.114881, 8.746962, 3.941538, -4.062244, 13.539957, 3.941525, -15.114881, 8.746962, 0.000002, -0.120727, 18.679285, 0.000007, -17.594904, 10.178804, 3.941525, -15.114881, 8.746962, 2.435999, -11.102124, 6.430199, 2.435998, -2.556722, 9.775650, 2.435998, -2.556722, 9.775650, 3.941538, -4.062244, 13.539957, 3.941525, -15.114881, 8.746962, 0.000007, -17.594904, 10.178804, 0.000002, -0.120727, 18.679285, -3.941512, -4.062244, 15.128210, -3.941512, -4.062244, 15.128210, -3.941512, -15.114881, 8.746962, 0.000007, -17.594904, 10.178804, 3.941536, 3.820774, 15.128210, 0.000002, -0.120727, 18.679285, 3.941536, 3.820774, 15.128210, 2.435998, 2.315267, 9.775652, 3.941536, 3.820774, 15.128210, 2.435998, 2.315267, 9.775652, -3.941512, 3.820807, 13.539961, -2.435989, 2.315266, 9.775652, -3.941512, 3.820807, 13.539961, 0.000002, -0.120727, 18.679285, 0.000002, -0.120727, 18.679285, -3.941512, 3.820807, 13.539961, 0.000007, 17.353449, 10.178814, 3.941525, 14.873430, 8.746973, 0.000007, 17.353449, 10.178814, 3.941525, 14.873430, 8.746973, 2.435999, 10.860673, 6.430202, 3.941525, 14.873430, 8.746973, 2.435999, 10.860673, 6.430202, -2.435986, 10.860673, 6.430202, 2.435999, 10.860677, -6.250025, 2.435999, 10.860673, 6.430202, -2.435986, 10.860673, 6.430202, -3.941512, 14.873430, 8.746973, -2.435986, 10.860673, 6.430202, -3.941512, 14.873430, 8.746973, 0.000007, 17.353449, 10.178814, -3.941512, 14.873430, 8.746973, 0.000007, 17.353456, -9.998627, 3.941525, 14.873433, -8.566788, 3.941539, 3.820780, -14.948035, 3.941539, 3.820780, -14.948035, 0.000002, -0.120718, -18.822365, 0.000007, 17.353456, -9.998627, 2.435999, 10.860677, -6.250025, -0.000002, -0.120719, -11.325150, 2.435998, 2.315271, -9.918728, -2.435986, 10.860677, -6.250025, -2.435989, 2.315270, -9.918731, -0.000002, -0.120719, -11.325150, 2.435999, 10.860677, -6.250025, -2.435986, 10.860677, -6.250025, -0.000002, -0.120719, -11.325150, -2.435986, 10.860677, -6.250025, -3.941512, 14.873433, -8.566788, -3.941512, 3.820808, -13.683040, -3.941512, 3.820808, -13.683040, -2.435989, 2.315270, -9.918731, -2.435986, 10.860677, -6.250025, -3.941512, 14.873433, -8.566788, 0.000007, 17.353456, -9.998627, 0.000002, -0.120718, -18.822365, 0.000002, -0.120718, -18.822365, -3.941512, 3.820808, -13.683040, -3.941512, 14.873433, -8.566788, 3.941525, 14.873433, -8.566788, 2.435999, 10.860677, -6.250025, 2.435998, 2.315271, -9.918728, 2.435998, 2.315271, -9.918728, 3.941539, 3.820780, -14.948035, 3.941525, 14.873433, -8.566788, -0.000002, -0.120726, 11.182074, -2.435986, -11.102124, 6.430199, -2.435991, -2.556715, 9.775656, 2.435999, -11.102124, 6.430199, -2.435986, -11.102124, 6.430199, -0.000002, -0.120726, 11.182074, 2.435998, -2.556722, 9.775650, 2.435999, -11.102124, 6.430199, -0.000002, -0.120726, 11.182074, -0.000002, -0.120726, 11.182074, 2.435999, 10.860673, 6.430202, 2.435998, 2.315267, 9.775652, -0.000002, -0.120726, 11.182074, 2.435999, 10.860673, 6.430202, -2.435989, 2.315266, 9.775652, -0.000002, -0.120726, 11.182074, -2.435991, -2.556715, 9.775656, -3.941512, -15.114881, 8.746962, -3.941512, -4.062244, 15.128210, -3.941512, -15.114881, 8.746962, -2.435991, -2.556715, 9.775656, -2.435986, -11.102124, 6.430199
    };    
    
    GLfloat textureCoordsObjData[ ] = { 
        0.462371, 0.457327, 0.000000, 0.366348, 0.421955, 0.000000, 0.274115, 0.367637, 0.000000, 0.642259, 0.364723, 0.000000, 0.558393, 0.421955, 0.000000, 0.460785, 0.728649, 0.000000, 0.366168, 0.697142, 0.000000, 0.277770, 0.646163, 0.000000, 0.721535, 0.367787, 0.000000, 0.555401, 0.697142, 0.000000, 0.451678, 0.551533, 0.000000, 0.548022, 0.588319, 0.000000, 0.630829, 0.647839, 0.000000, 0.716518, 0.647839, 0.000000, 0.355334, 0.588318, 0.000000, 0.456685, 0.731713, 0.000000, 0.551301, 0.700206, 0.000000, 0.639563, 0.649227, 0.000000, 0.717798, 0.649227, 0.000000, 0.362069, 0.700206, 0.000000, 0.567599, 0.145913, 0.000000, 0.647879, 0.154255, 0.000000, 0.730534, 0.141227, 0.000000, 0.684366, 0.090544, 0.000000, 0.376789, 0.132885, 0.000000, 0.557839, 0.863346, 0.000000, 0.637340, 0.856896, 0.000000, 0.673674, 0.920992, 0.000000, 0.710007, 0.856896, 0.000000, 0.372285, 0.879135, 0.000000, 0.372285, 0.879135, 0.000000, 0.266016, 0.856896, 0.000000, 0.637340, 0.856897, 0.000000, 0.557839, 0.863346, 0.000000, 0.378781, 0.132886, 0.000000, 0.284839, 0.163736, 0.000000, 0.645887, 0.154254, 0.000000, 0.565608, 0.145912, 0.000000, 0.462370, 0.013336, 0.000000, 0.460379, 0.457327, 0.000000, 0.556402, 0.421955, 0.000000, 0.640267, 0.364723, 0.000000, 0.724482, 0.364723, 0.000000, 0.359819, 0.408567, 0.000000, 0.456604, 0.730640, 0.000000, 0.361988, 0.699134, 0.000000, 0.273726, 0.648155, 0.000000, 0.639482, 0.648155, 0.000000, 0.551220, 0.699134, 0.000000, 0.451678, 0.995523, 0.000000, 0.455661, 0.551533, 0.000000, 0.359317, 0.588318, 0.000000, 0.276511, 0.647839, 0.000000, 0.634812, 0.647839, 0.000000, 0.552006, 0.588318, 0.000000, 0.458596, 0.730640, 0.000000, 0.363980, 0.699134, 0.000000, 0.275718, 0.648155, 0.000000, 0.641474, 0.648155, 0.000000, 0.553212, 0.699134, 0.000000, 0.362646, 0.412793, 0.000000, 0.379825, 0.135690, 0.000000, 0.379825, 0.135690, 0.000000, 0.726474, 0.364723, 0.000000, 0.726474, 0.364723, 0.000000, 0.720854, 0.154255, 0.000000, 0.460785, 0.284658, 0.000000, 0.366168, 0.316165, 0.000000, 0.460785, 0.284658, 0.000000, 0.366031, 0.316165, 0.000000, 0.277770, 0.367144, 0.000000, 0.366031, 0.697142, 0.000000, 0.366031, 0.316165, 0.000000, 0.641476, 0.651166, 0.000000, 0.721535, 0.651166, 0.000000, 0.641476, 0.367787, 0.000000, 0.641476, 0.651166, 0.000000, 0.643663, 0.367144, 0.000000, 0.555401, 0.316165, 0.000000, 0.643663, 0.646163, 0.000000, 0.643663, 0.367144, 0.000000, 0.555401, 0.316165, 0.000000, 0.460785, 0.284658, 0.000000, 0.555401, 0.316165, 0.000000, 0.451678, 0.551533, 0.000000, 0.355334, 0.588319, 0.000000, 0.451678, 0.551533, 0.000000, 0.548022, 0.588319, 0.000000, 0.548022, 0.588319, 0.000000, 0.630829, 0.647839, 0.000000, 0.548022, 0.588319, 0.000000, 0.451678, 0.551533, 0.000000, 0.548022, 0.588319, 0.000000, 0.451678, 0.995523, 0.000000, 0.451678, 0.995523, 0.000000, 0.266016, 0.856896, 0.000000, 0.272528, 0.647839, 0.000000, 0.266016, 0.856896, 0.000000, 0.451678, 0.995523, 0.000000, 0.456685, 0.287722, 0.000000, 0.551301, 0.319229, 0.000000, 0.456685, 0.287722, 0.000000, 0.551301, 0.319229, 0.000000, 0.639563, 0.370208, 0.000000, 0.551301, 0.319229, 0.000000, 0.639563, 0.370208, 0.000000, 0.717798, 0.370207, 0.000000, 0.639563, 0.370208, 0.000000, 0.273807, 0.370207, 0.000000, 0.362069, 0.319229, 0.000000, 0.273807, 0.649227, 0.000000, 0.273807, 0.370207, 0.000000, 0.362069, 0.319229, 0.000000, 0.456685, 0.287722, 0.000000, 0.362069, 0.319229, 0.000000, 0.460379, 0.013336, 0.000000, 0.460379, 0.457326, 0.000000, 0.556402, 0.421955, 0.000000, 0.556402, 0.421955, 0.000000, 0.460379, 0.013336, 0.000000, 0.556402, 0.421955, 0.000000, 0.640267, 0.364723, 0.000000, 0.556402, 0.421955, 0.000000, 0.640267, 0.364723, 0.000000, 0.724482, 0.364723, 0.000000, 0.640267, 0.364723, 0.000000, 0.682375, 0.090544, 0.000000, 0.460379, 0.457326, 0.000000, 0.460379, 0.013336, 0.000000, 0.364357, 0.421955, 0.000000, 0.460379, 0.457326, 0.000000, 0.269752, 0.362104, 0.000000, 0.363626, 0.411397, 0.000000, 0.375423, 0.134329, 0.000000, 0.375423, 0.134329, 0.000000, 0.281867, 0.165683, 0.000000, 0.269752, 0.362104, 0.000000, 0.355334, 0.588319, 0.000000, 0.272528, 0.647839, 0.000000, 0.355334, 0.588319, 0.000000, 0.673674, 0.920992, 0.000000, 0.716518, 0.647839, 0.000000, 0.630829, 0.647839, 0.000000, 0.673674, 0.920992, 0.000000, 0.630829, 0.647839, 0.000000, 0.710007, 0.856896, 0.000000, 0.716518, 0.647839, 0.000000, 0.673674, 0.920992, 0.000000, 0.460379, 0.013336, 0.000000, 0.565608, 0.145913, 0.000000, 0.460379, 0.013336, 0.000000, 0.645887, 0.154254, 0.000000, 0.565608, 0.145913, 0.000000, 0.645887, 0.154254, 0.000000, 0.645887, 0.154254, 0.000000, 0.730534, 0.141227, 0.000000, 0.730534, 0.141227, 0.000000, 0.645887, 0.154254, 0.000000, 0.682375, 0.090544, 0.000000, 0.730534, 0.141227, 0.000000, 0.378220, 0.132117, 0.000000, 0.275727, 0.366249, 0.000000, 0.275727, 0.366249, 0.000000, 0.284666, 0.163471, 0.000000, 0.378220, 0.132117, 0.000000, 0.460379, 0.013336, 0.000000, 0.376789, 0.132886, 0.000000, 0.364357, 0.421955, 0.000000, 0.376789, 0.132886, 0.000000, 0.456604, 0.286650, 0.000000, 0.361988, 0.318156, 0.000000, 0.456604, 0.286650, 0.000000, 0.361988, 0.318156, 0.000000, 0.273726, 0.369135, 0.000000, 0.361988, 0.318156, 0.000000, 0.717717, 0.369135, 0.000000, 0.639482, 0.369135, 0.000000, 0.717717, 0.648155, 0.000000, 0.717717, 0.369135, 0.000000, 0.639482, 0.369135, 0.000000, 0.551220, 0.318156, 0.000000, 0.639482, 0.369135, 0.000000, 0.551220, 0.318156, 0.000000, 0.456604, 0.286650, 0.000000, 0.551220, 0.318156, 0.000000, 0.451678, 0.995524, 0.000000, 0.548023, 0.588319, 0.000000, 0.557839, 0.863346, 0.000000, 0.548023, 0.588319, 0.000000, 0.451678, 0.995524, 0.000000, 0.451678, 0.551533, 0.000000, 0.548023, 0.588319, 0.000000, 0.630829, 0.647839, 0.000000, 0.637340, 0.856897, 0.000000, 0.637340, 0.856897, 0.000000, 0.557839, 0.863346, 0.000000, 0.548023, 0.588319, 0.000000, 0.451678, 0.551533, 0.000000, 0.451678, 0.995524, 0.000000, 0.372284, 0.879135, 0.000000, 0.372284, 0.879135, 0.000000, 0.355334, 0.588319, 0.000000, 0.451678, 0.551533, 0.000000, 0.376268, 0.879135, 0.000000, 0.455662, 0.995523, 0.000000, 0.376268, 0.879135, 0.000000, 0.269999, 0.856896, 0.000000, 0.376268, 0.879135, 0.000000, 0.269999, 0.856896, 0.000000, 0.561822, 0.863345, 0.000000, 0.641324, 0.856896, 0.000000, 0.561822, 0.863345, 0.000000, 0.455662, 0.995523, 0.000000, 0.455662, 0.995523, 0.000000, 0.561822, 0.863345, 0.000000, 0.458596, 0.286650, 0.000000, 0.363980, 0.318156, 0.000000, 0.458596, 0.286650, 0.000000, 0.363980, 0.318156, 0.000000, 0.275718, 0.369135, 0.000000, 0.363980, 0.318156, 0.000000, 0.719709, 0.369135, 0.000000, 0.641474, 0.369135, 0.000000, 0.719709, 0.648155, 0.000000, 0.719709, 0.369135, 0.000000, 0.641474, 0.369135, 0.000000, 0.553212, 0.318156, 0.000000, 0.641474, 0.369135, 0.000000, 0.553212, 0.318156, 0.000000, 0.458596, 0.286650, 0.000000, 0.553212, 0.318156, 0.000000, 0.462371, 0.461310, 0.000000, 0.366348, 0.425939, 0.000000, 0.378780, 0.136869, 0.000000, 0.378780, 0.136869, 0.000000, 0.462371, 0.017320, 0.000000, 0.462371, 0.461310, 0.000000, 0.726473, 0.368706, 0.000000, 0.684366, 0.094527, 0.000000, 0.720853, 0.158238, 0.000000, 0.642259, 0.368706, 0.000000, 0.647879, 0.158238, 0.000000, 0.684366, 0.094527, 0.000000, 0.726473, 0.368706, 0.000000, 0.642259, 0.368706, 0.000000, 0.684366, 0.094527, 0.000000, 0.642259, 0.368706, 0.000000, 0.558393, 0.425939, 0.000000, 0.567599, 0.149897, 0.000000, 0.567599, 0.149897, 0.000000, 0.647879, 0.158238, 0.000000, 0.642259, 0.368706, 0.000000, 0.558393, 0.425939, 0.000000, 0.462371, 0.461310, 0.000000, 0.462371, 0.017320, 0.000000, 0.462371, 0.017320, 0.000000, 0.567599, 0.149897, 0.000000, 0.558393, 0.425939, 0.000000, 0.361265, 0.409500, 0.000000, 0.274145, 0.368182, 0.000000, 0.284457, 0.166546, 0.000000, 0.284457, 0.166546, 0.000000, 0.377775, 0.132774, 0.000000, 0.361265, 0.409500, 0.000000, 0.673674, 0.920992, 0.000000, 0.716518, 0.647839, 0.000000, 0.710006, 0.856897, 0.000000, 0.630829, 0.647839, 0.000000, 0.716518, 0.647839, 0.000000, 0.673674, 0.920992, 0.000000, 0.637340, 0.856897, 0.000000, 0.630829, 0.647839, 0.000000, 0.673674, 0.920992, 0.000000, 0.677656, 0.920992, 0.000000, 0.720501, 0.647839, 0.000000, 0.713989, 0.856896, 0.000000, 0.677656, 0.920992, 0.000000, 0.720501, 0.647839, 0.000000, 0.641324, 0.856896, 0.000000, 0.677656, 0.920992, 0.000000, 0.266016, 0.856897, 0.000000, 0.355334, 0.588319, 0.000000, 0.372284, 0.879135, 0.000000, 0.355334, 0.588319, 0.000000, 0.266016, 0.856897, 0.000000, 0.272527, 0.647839, 0.000000
    };
    
    GLfloat normalsObjData[ ] = {
        0.469522, -0.010598, -0.882857, 0.423198, 0.532556, -0.732999, -0.160498, 0.942532, 0.293041, -0.317732, -0.645482, 0.694549, 0.246977, -0.839404, -0.484153, 1.000000, 0.000000, -0.000000, 0.846395, 0.532556, 0.000000, -0.351275, 0.936272, 0.000000, -1.000000, 0.000000, 0.000000, 0.515448, -0.856921, -0.000000, -0.461376, 0.013373, 0.887104, -0.247252, 0.833788, 0.493623, 0.295019, 0.637868, -0.711399, 0.392898, 0.022129, -0.919316, -0.273205, -0.853979, 0.442808, -1.000000, 0.000000, -0.000000, -0.515447, 0.856921, 0.000000, 0.764805, 0.644262, 0.000000, 1.000000, 0.000000, 0.000000, -0.515447, -0.856921, -0.000000, 0.185114, -0.901219, -0.391839, -0.366830, -0.367906, 0.854448, 0.377222, -0.189965, 0.906431, -0.401482, 0.000000, 0.915867, -0.416324, -0.410956, -0.811042, 0.165270, -0.909638, 0.381111, -0.347927, -0.336826, -0.874925, 0.373737, -0.000001, -0.927535, 0.359210, 0.170533, -0.917544, -0.286934, -0.750937, 0.594779, 0.286934, 0.750936, 0.594780, -0.135752, 0.956878, -0.256819, 0.347927, 0.336825, -0.874926, -0.165270, 0.909638, 0.381110, 0.416324, 0.410956, -0.811042, -0.109412, 0.960770, 0.254851, 0.358326, 0.301326, 0.883632, -0.182729, 0.900436, -0.394747, 0.439141, -0.108839, -0.891801, 0.010598, -0.469522, -0.882857, 0.838901, -0.249891, -0.483529, 0.624418, 0.347091, 0.699736, 0.000000, 0.500000, 0.866026, -0.936272, 0.175637, 0.304213, 0.000000, -1.000000, -0.000000, 0.856921, -0.515447, -0.000000, 0.936272, 0.351275, 0.000000, -0.644262, 0.764805, 0.000000, -0.856921, -0.515447, -0.000000, 0.421933, -0.138838, 0.895934, -0.013374, 0.461376, 0.887104, 0.853979, 0.273205, 0.442808, 0.923338, -0.139983, -0.357563, -0.645254, -0.299875, -0.702654, -0.834433, 0.243565, 0.494367, 0.000000, 1.000000, 0.000000, 0.856921, 0.515447, 0.000000, 0.936272, -0.351275, -0.000000, -0.644262, -0.764805, -0.000000, -0.856921, 0.515447, 0.000000, -0.175639, 0.936272, 0.304212, -0.175639, 0.936272, 0.304212, -0.109412, 0.960770, 0.254851, -0.419521, -0.000000, 0.907746, -0.390900, -0.134783, 0.910511, -0.390900, -0.134783, 0.910511, 0.846395, 0.532556, 0.000000, 0.846395, 0.532556, 0.000000, 0.846395, 0.532555, 0.000000, -0.351275, 0.936272, 0.000000, -0.351275, 0.936272, 0.000000, -0.351275, 0.936272, 0.000000, -0.351275, 0.936272, 0.000000, -1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, -0.351275, -0.936272, -0.000000, -0.351275, -0.936272, -0.000000, -0.351275, -0.936272, -0.000000, -0.351275, -0.936272, -0.000000, 0.846395, -0.532556, -0.000000, 0.846395, -0.532556, -0.000000, 0.846395, -0.532555, -0.000000, 0.423197, 0.532555, 0.733000, 0.423197, 0.532555, 0.733000, 0.409900, 0.349250, 0.842619, -0.138551, -0.937403, -0.319498, -0.139983, -0.923338, -0.357564, -0.139983, -0.923338, -0.357564, 0.374790, -0.515701, 0.770445, 0.374790, -0.515701, 0.770445, 0.310914, -0.623933, 0.716966, -0.374790, 0.515700, 0.770445, -0.310914, 0.623932, 0.716966, 0.139983, -0.923338, -0.357563, 0.139983, -0.923338, -0.357563, 0.134552, -0.963111, -0.233051, -0.409900, -0.349250, 0.842619, -0.846395, 0.532556, 0.000000, -0.846395, 0.532556, 0.000000, -0.846395, 0.532556, 0.000000, 0.351275, 0.936272, 0.000000, 0.351275, 0.936272, 0.000000, 0.351275, 0.936272, 0.000000, 1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.351275, -0.936272, -0.000000, 0.351275, -0.936272, -0.000000, 0.351275, -0.936272, -0.000000, 0.351275, -0.936272, -0.000000, -0.846395, -0.532556, -0.000000, -0.846395, -0.532556, -0.000000, -0.846395, -0.532556, -0.000000, -0.385169, 0.519444, -0.762773, -0.385169, 0.519444, -0.762773, -0.385169, 0.519444, -0.762773, -0.333934, 0.606691, -0.721397, -0.333934, 0.606691, -0.721397, 0.148275, 0.926678, 0.345373, 0.148275, 0.926678, 0.345373, 0.146418, 0.937289, 0.316310, 0.500000, -0.000000, 0.866025, 0.500000, -0.000000, 0.866025, 0.383729, -0.232074, 0.893809, 0.293925, -0.240212, 0.925152, -0.414589, -0.392451, -0.821035, -0.414589, -0.392451, -0.821035, -0.423198, -0.532556, -0.733000, -0.423197, -0.532556, -0.733000, 0.175638, -0.936272, 0.304213, 0.175638, -0.936272, 0.304213, 0.175638, -0.936272, 0.304213, 0.175638, -0.936272, 0.304214, 0.175638, -0.936272, 0.304214, 0.175639, -0.936272, 0.304214, -0.139983, 0.923338, -0.357563, -0.139983, 0.923338, -0.357563, -0.134552, 0.963112, -0.233047, -0.397134, 0.000000, -0.917761, -0.397134, 0.000000, -0.917761, -0.397134, 0.000000, -0.917761, -0.359211, 0.170533, -0.917544, -0.359211, 0.170533, -0.917544, -0.359211, -0.170533, -0.917544, -0.359211, -0.170533, -0.917544, -0.359211, -0.170533, -0.917544, 0.606691, -0.333934, -0.721398, 0.606691, -0.333934, -0.721398, 0.519444, -0.385168, -0.762774, 0.926678, 0.148275, 0.345373, 0.937289, 0.146418, 0.316310, 0.937289, 0.146418, 0.316310, -0.232074, 0.383728, 0.893809, -0.232074, 0.383728, 0.893809, 0.000000, 0.500000, 0.866026, -0.240212, 0.293925, 0.925152, -0.240212, 0.293925, 0.925152, -0.240212, 0.293925, 0.925152, -0.936272, 0.175637, 0.304213, -0.936272, 0.175637, 0.304213, -0.936273, 0.175636, 0.304213, -0.936273, 0.175637, 0.304213, -0.936273, 0.175637, 0.304213, -0.392451, -0.414588, -0.821035, -0.392451, -0.414588, -0.821035, -0.532556, -0.423197, -0.733000, -0.532556, -0.423197, -0.733000, 0.532555, -0.846395, -0.000000, 0.532555, -0.846395, -0.000000, 0.532556, -0.846395, -0.000000, 0.936272, 0.351275, 0.000000, 0.936272, 0.351275, 0.000000, 0.936272, 0.351275, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 1.000000, 0.000000, -0.936272, 0.351275, 0.000000, -0.936272, 0.351275, 0.000000, -0.936272, 0.351275, 0.000000, -0.532555, -0.846395, -0.000000, -0.532555, -0.846395, -0.000000, -0.532556, -0.846395, -0.000000, 0.623932, -0.310914, 0.716966, 0.623932, -0.310914, 0.716966, 0.623932, -0.310914, 0.716966, 0.515701, -0.374790, 0.770445, 0.515701, -0.374790, 0.770445, 0.515701, -0.374790, 0.770445, 0.923338, 0.139983, -0.357564, 0.923338, 0.139983, -0.357564, 0.923338, 0.139983, -0.357564, 0.937402, 0.138552, -0.319502, 0.937402, 0.138552, -0.319502, 0.937402, 0.138552, -0.319502, -0.349250, -0.409900, 0.842619, -0.349250, -0.409900, 0.842619, -0.349250, -0.409900, 0.842619, -0.532556, -0.423198, 0.732999, -0.532556, -0.423198, 0.732999, -0.532556, -0.423198, 0.732999, 0.532555, 0.423197, 0.733000, 0.349251, 0.409899, 0.842619, 0.349251, 0.409899, 0.842619, 0.963111, -0.134552, -0.233053, 0.963111, -0.134552, -0.233053, 0.923338, -0.139983, -0.357563, -0.927033, -0.149186, -0.344024, -0.937447, -0.126910, -0.324171, -0.937447, -0.126910, -0.324171, -0.515700, 0.374790, 0.770445, -0.623934, 0.310913, 0.716966, -0.623934, 0.310913, 0.716966, 0.532555, 0.846395, 0.000000, 0.532555, 0.846395, 0.000000, 0.532556, 0.846395, 0.000000, 0.936272, -0.351275, -0.000000, 0.936272, -0.351275, -0.000000, 0.936272, -0.351275, -0.000000, 0.000000, -1.000000, -0.000000, 0.000000, -1.000000, -0.000000, 0.000000, -1.000000, -0.000000, 0.000000, -1.000000, -0.000000, -0.936272, -0.351275, -0.000000, -0.936272, -0.351275, -0.000000, -0.936272, -0.351275, -0.000000, -0.532555, 0.846395, 0.000000, -0.532555, 0.846395, 0.000000, -0.532556, 0.846395, 0.000000, 0.532556, 0.423198, -0.732999, 0.532556, 0.423198, -0.732999, 0.532556, 0.423198, -0.732999, 0.392451, 0.414589, -0.821035, 0.392451, 0.414589, -0.821035, 0.392451, 0.414589, -0.821035, -0.134785, -0.390900, 0.910511, -0.134785, -0.390900, 0.910511, -0.134785, -0.390900, 0.910511, 0.134784, -0.390900, 0.910511, 0.134784, -0.390900, 0.910511, 0.134784, -0.390900, 0.910511, 0.000000, -0.419521, 0.907746, 0.000000, -0.419521, 0.907746, 0.000000, -0.419521, 0.907746, -0.929296, -0.155149, 0.335168, -0.929296, -0.155149, 0.335168, -0.929296, -0.155149, 0.335168, -0.937414, -0.137371, 0.319974, -0.937414, -0.137371, 0.319974, -0.937414, -0.137371, 0.319974, -0.519444, 0.385169, -0.762773, -0.519444, 0.385169, -0.762773, -0.519444, 0.385169, -0.762773, -0.606691, 0.333934, -0.721397, -0.606691, 0.333934, -0.721397, -0.606691, 0.333934, -0.721397, 0.926678, -0.148275, 0.345373, 0.926678, -0.148275, 0.345373, 0.926678, -0.148275, 0.345373, 0.959207, -0.141351, 0.244829, 0.959207, -0.141351, 0.244829, 0.959207, -0.141351, 0.244829, 0.170533, 0.359211, -0.917544, 0.170533, 0.359211, -0.917544, 0.170533, 0.359211, -0.917544, 0.000000, 0.397134, -0.917761, 0.000000, 0.397134, -0.917761, 0.000000, 0.397134, -0.917761, -0.170534, 0.359210, -0.917544, -0.170534, 0.359210, -0.917544, -0.170533, 0.359210, -0.917544, -0.170534, -0.359210, -0.917544, -0.170534, -0.359210, -0.917544, -0.170534, -0.359210, -0.917544, 0.000000, -0.397133, -0.917761, 0.000000, -0.397133, -0.917761, 0.170535, -0.359210, -0.917543, 0.170535, -0.359210, -0.917543, -0.963111, 0.134552, -0.233050, -0.963111, 0.134552, -0.233050, -0.963111, 0.134552, -0.233050, -0.923338, 0.139983, -0.357564, -0.923338, 0.139983, -0.357564, -0.923338, 0.139983, -0.357564
    };
    
    GLushort facesObjData[ ] = { 
        34, 1, 0, 0, 38, 34, 2, 60, 61, 62, 35, 2, 23, 3, 63, 23, 64, 65, 21, 3, 23, 20, 4, 3, 3, 21, 20, 4, 38, 0, 38, 4, 20, 66, 67, 6, 6, 5, 68, 69, 70, 7, 7, 71, 72, 73, 74, 8, 8, 75, 76, 77, 78, 9, 9, 79, 80, 81, 82, 5, 5, 9, 83, 84, 85, 30, 30, 49, 86, 26, 87, 25, 88, 26, 89, 90, 91, 49, 49, 25, 92, 93, 11, 10, 11, 94, 33, 32, 12, 11, 11, 33, 32, 27, 13, 12, 27, 28, 13, 32, 27, 12, 95, 14, 96, 14, 97, 29, 98, 10, 29, 14, 29, 10, 99, 100, 16, 16, 15, 101, 102, 103, 17, 17, 16, 104, 105, 106, 18, 18, 17, 107, 108, 109, 19, 19, 110, 111, 112, 113, 15, 15, 19, 114, 115, 116, 117, 118, 37, 119, 120, 121, 36, 36, 37, 122, 123, 124, 22, 36, 125, 22, 126, 36, 22, 127, 128, 24, 24, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 31, 31, 30, 139, 140, 141, 142, 143, 144, 26, 145, 146, 147, 148, 149, 40, 40, 39, 150, 151, 41, 40, 40, 152, 153, 154, 155, 41, 41, 156, 42, 157, 158, 159, 160, 43, 161, 162, 163, 164, 165, 39, 166, 167, 168, 39, 169, 170, 45, 45, 44, 171, 172, 173, 46, 46, 45, 174, 175, 176, 47, 47, 177, 178, 179, 180, 48, 48, 47, 181, 182, 183, 44, 44, 48, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 51, 50, 50, 204, 205, 206, 51, 207, 51, 208, 52, 209, 54, 53, 53, 210, 211, 54, 212, 50, 213, 54, 214, 215, 216, 56, 56, 55, 217, 218, 219, 57, 57, 56, 220, 221, 222, 58, 58, 223, 224, 225, 226, 59, 59, 58, 227, 228, 229, 55, 55, 59, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 53, 277, 278, 53, 279, 280, 281, 282, 283, 284, 285
    };
    
    [self setVertices: verticesObjData
                 size: sizeof(verticesObjData) 
         setTexCoords: textureCoordsObjData
                 size: sizeof(textureCoordsObjData)
           setNormals: normalsObjData
                 size: sizeof(normalsObjData)
             setFaces: facesObjData
                 size: sizeof(facesObjData)];    
}

@end